package com.incar.chuxing.base


import com.incar.chuxing.api.RxApiService
import com.incar.chuxing.api.RxApiStore
import com.incar.chuxing.api.UrlContainer

import io.reactivex.disposables.CompositeDisposable


open class BaseRepository {

    val apiService: RxApiService = RxApiStore.getInstance().getApiService(UrlContainer.Request.BASE_GATE_URL)

    var compositeDisposable: CompositeDisposable = CompositeDisposable()

    fun clearDisposable() {
        compositeDisposable.clear()
    }

}
